from random import choice

def randkey(n):
    return "".join(choice("0123456789abcdef") for i in range(n))


